package com.crm.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@TableName("user")
@AllArgsConstructor
@NoArgsConstructor
public class User {
    //用户id
    private Long userId;
    //部门id
    private Long deptId;
    //用户名称
    private String userName;
    //用户昵称
    private String nickName;
    //性别
    private String sex;
    //电话号码
    private String phoneNumber;
    //最后登录时间
    private String loginDate;
    //删除标志
    private String delFlag;
    //最后登录ip
    private String loginIp;
    //邮箱
    private String email;
    //密码
    private String password;
    //角色分配
    private String role;
    //状态
    private Integer status;
    //创建人
    private String createBy;
    //创建时间
    private LocalDateTime createTime;
    //更新人
    private String updateBy;
    //更新时间
    private LocalDateTime updateTime;
    //备注
    private String remark;

}


